home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK1.toast / Development Kits (Disc 1) / Open Transport / Sample Code / DLPI / OT DLPI Sample1.0B7 / Common Source / EntryPoints.h < prev    next >
Encoding:
Text File  |  1995-06-07  |  1.6 KB  |  51 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        EntryPoints.h
  3.  
  4.     Contains:    This file contains misc. items for the EntryPoints.c file
  5.     Written by:    
  6.  
  7.     Copyright:    © 1993-1995 by Apple Computer, Inc., all rights reserved.
  8.  
  9.     Change History (most recent first):
  10.  
  11.  
  12.     To Do:
  13. */
  14.  
  15. //-----------------------------------------------------------------------------------------
  16. //    Function Prototypes
  17. //-----------------------------------------------------------------------------------------
  18.  
  19. void EnqueueElementAtHead(QHdr *theQHdr, QElem *theElem, UInt16 whichIntsOff);
  20. void EnqueueElement(QHdr *theQHdr, QElem *theElem, UInt16 whichIntsOff);
  21. QElem *DequeueHead(QHdr *theHdr, UInt16 whichIntsOff);
  22. QElem *DequeueElement(QHdr *theQHdr, QElem *theElem, UInt16 whichIntsOff);
  23.  
  24. OTResult ValidateHardware(RegEntryID *theID);
  25. Boolean    InitStreamModule(RegEntryID *theID);
  26. void TerminateStreamModule(void);
  27. OSErr InitCFMRoutine(CFragInitBlock *theInitBlock);
  28. void TerminateCFMRoutine(void);
  29. install_info* GetOTInstallInfo(void);
  30.  
  31. int OpenServiceRoutine(queue_t *q, dev_t *, int, int, cred_t *);
  32. int CloseServiceRoutine(queue_t *q, int, cred_t *);
  33. int WritePutRoutine(queue_t *q, mblk_t *mp);
  34. int WriteServiceRoutine(queue_t *q);
  35.  
  36. void IOCtlTheStream(queue_t *, mblk_t *);
  37. void FlushTheStream(queue_t *, mblk_t *);
  38. UInt16 GenerateUniqueMinorDevice(void);
  39. Boolean CheckThisMinorDevice(UInt16 minorDeviceNumber);
  40. void AttemptPacketSend(void);
  41. void PreparePacketToBeSent(mblk_t *thePacket);
  42.  
  43. pascal void RxDTCallback(void *theParam);
  44. pascal void TxDTCallback(void *theParam);
  45. void HandleTimerMessages(queue_t *writeQueue, mblk_t *mp);
  46.  
  47.  
  48.  
  49. Boolean OTInitModule(void);
  50. void OTTerminateModule(void);
  51.